package color.koitq.picker.activty;

import android.widget.TextView;

import color.koitq.picker.BuildConfig;
import color.koitq.picker.R;
import color.koitq.picker.base.BaseActivity;
import com.qmuiteam.qmui.widget.QMUITopBarLayout;

import butterknife.BindView;

public class AboutActivity extends BaseActivity {

    @BindView(R.id.topbar)
    QMUITopBarLayout topBar;
    @BindView(R.id.version)
    TextView version;

    @Override
    protected int getContentViewId() {
        return R.layout.about_ui;
    }

    @Override
    protected void init() {
        topBar.setTitle("关于我们");
        topBar.addLeftImageButton(R.mipmap.back_white_icon,R.id.topbar_right_btn).setOnClickListener(v->finish());
        version.setText("V" + BuildConfig.VERSION_NAME);
    }
}
